package com.woniuxy.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (ShopFlashSales)实体类
 *
 * @author makejava
 * @since 2025-07-10 11:41:15
 */
public class ShopFlashSales implements Serializable {
    private static final long serialVersionUID = 791814826789039704L;
    /**
     * id
     */
    private Long id;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 抢购价格
     */
    private Double flashPrice;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 库存
     */
    private Integer stock;
    /**
     * 0-未开始，1-进行中，2-已结束
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Double getFlashPrice() {
        return flashPrice;
    }

    public void setFlashPrice(Double flashPrice) {
        this.flashPrice = flashPrice;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

